package face.pay.entity;

/**
 * 服务商分润策略配置
 * 包含如下几个配置
 *  1 级别级数字
 *  2 分润模式
 *  3 用户是否有效期
 *  此三个设置都和 服务商的受益或分润有关系
 */
public class OemProfitConfigInfo {

    private Integer id;

    private Integer oemId;

    /**
     * 代理级别 最大级别数量
     */
    private Integer levelNumber;

    /**
     * DEFAULT 默认分润
     * PERCENTAGE 按照百分比
     */
    private String  profitStrategy;

    private Integer userTimeValidity= new Integer(0);

    private String  createdTime;

    private Integer createdBy;

    private String  updatedTime;

    private Integer updatedBy;

    public OemProfitConfigInfo() {
    }

    public OemProfitConfigInfo(Integer oemId, Integer levelNumber, String profitStrategy, Integer userTimeValidity) {
        this.oemId = oemId;
        this.levelNumber = levelNumber;
        this.profitStrategy = profitStrategy;
        this.userTimeValidity = userTimeValidity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOemId() {
        return oemId;
    }

    public void setOemId(Integer oemId) {
        this.oemId = oemId;
    }

    public Integer getLevelNumber() {
        return levelNumber;
    }

    public void setLevelNumber(Integer levelNumber) {
        this.levelNumber = levelNumber;
    }

    public String getProfitStrategy() {
        return profitStrategy;
    }

    public void setProfitStrategy(String profitStrategy) {
        this.profitStrategy = profitStrategy;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Integer getUserTimeValidity() {
        return userTimeValidity;
    }

    public void setUserTimeValidity(Integer userTimeValidity) {
        this.userTimeValidity = userTimeValidity;
    }
}
